<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>添加关于我们信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<style type="text/css">
<!--
body,td,th {
	font-size: 13px;
}
-->
</style>
<script type="text/javascript" src="/ZhuFei/ckeditor/ckeditor.js"></script>



	</head>

	<body>
		<table width="99%" border="5" align="center" cellpadding="5"
			cellspacing="5" bordercolor="#CCCCCC" bgcolor="#FFFFFF">
			<tr>
				<td height="16" background="admin/images/topbg.gif"
					bgcolor="#F7F7F7">
					<span class="STYLE1"> <img src="admin/images/pic5.gif"
							width="28" height="22" />您现在所在的位置是： <a
						href="admin/adminIndex.jsp">管理首页</a> -&gt;<strong><font color="red">添加关于我们信息</font></strong></span>
				</td>
			</tr>
			<tr>
				<td colspan="2" bgcolor="#FFFFFF">
				
				
<script language="javascript">

function Mycheck(form)
{
	if(CKEDITOR.instances.content.getData()=="")
	{
		alert("内容不能为空！");
		return false;
	}
	return true;  
}
</script>
				
			    <form action="AboutUsServlet?action=add" method="post"
						 name="form1" onSubmit="return Mycheck(this.form)">
						<br>

					<table width="62%" height="211" border="2" align="center" cellpadding="1"
							cellspacing="1" bordercolor="#FFFFFF" bgcolor="#CCCCCC">
						<tr align="center" bgcolor="#F7F7F7" height="20">
						  <td height="25" align="right" background="images/topbg.gif">内容：</td>
						  <td colspan="2" background="images/topbg.gif"><textarea id="content" name="content" cols="20" rows="3" class="ckeditor"></textarea>
						  <script type="text/javascript">
      							CKEDITOR.replace('content',{filebrowserUploadUrl : '/ZhuFei/ckeditor/uploader?Type=File',
								filebrowserImageUploadUrl : '/ZhuFei/ckeditor/uploader?Type=Image',
								filebrowserFlashUploadUrl : '/ZhuFei/ckeditor/uploader?Type=Flash'
   								   	});
						  </script>
						  </td>
					  </tr>
						<tr align="center" bgcolor="#F7F7F7" height="20">
						  <td height="25" align="right" background="images/topbg.gif">&nbsp;</td>
						  <td background="images/topbg.gif"><input type="submit" name="submit" id="submit" value="提交"></td>
						  <td background="images/topbg.gif"><input type="reset" name="reset" id="reset" value="重置"></td>
				      </tr>
				    </table>
				  </form>
					<br>
				</td>
			</tr>
		</table>
		<br>
		<br>
	</body>
</html>
